<?php

namespace plugin\ycMassage\app\model;


class MassageUserDealerLog extends Model
{
    protected function user()
    {
        return $this->hasOne(MassageUser::class, 'id', 'uid');
    }
    protected function fromUser()
    {
        return $this->hasOne(MassageUser::class, 'id', 'from_uid')->bind(['nickname', 'headimg']);
    }
}
